export interface ResultSchema<D = any> {
  code: number;
  message?: string;
  data?: D;
}
export type DataExtact<R> = R extends ResultSchema<infer D> ? D : R

